home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4112 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  740 b 

  1. Path: news.ust.hk!ee_ckmaa
  2. From: ee_ckmaa@uxmail.ust.hk (Chan Ka Ming)
  3. Newsgroups: comp.lang.c++
  4. Subject: timing question under MSVC++
  5. Date: 28 Jan 1996 03:01:40 GMT
  6. Organization: The Hong Kong University of Science and Technology
  7. Message-ID: <4eeoul$g1e@news.ust.hk>
  8. NNTP-Posting-Host: ustsu26.ust.hk
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. I've tried to use <time.h> to find out how fast my program is. Strangly,
  12. everytime I compile it with exactly the same compiler options and then run it
  13. with the same inputs, the timing result can still be different. The difference
  14. ranges from 1/100 secs to 1/10 secs. I'm confused. My input was come from the
  15. hard disc.
  16.  
  17. Thanks
  18.  
  19. --
  20.  
  21. If an ideal can be reached easily it no longer is an ideal.
  22. ka ming
  23.  
  24.